﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// 校正系数矩阵
    /// </summary>
    /// <remarks>
    //  校正系数矩阵
    //  struct _scp_color_adjust_matrix_t
    //  {
    //      SCP_COMP_ADJUST_COEFF_t		red;    /*<红色分量校正系数*/
    //      SCP_COMP_ADJUST_COEFF_t		green;  /*<绿色分量校正系数*/
    //      SCP_COMP_ADJUST_COEFF_t		blue;   /*<蓝色分量校正系数*/
    //  }PACKED;
    //  typedef _scp_color_adjust_matrix _t
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_COLOR_ADJUST_MATRIX_T
    {
        /// <summary>
        /// 红色分量校正系数
        /// </summary>
        public SCP_COMP_ADJUST_COEFF_T red;

        /// <summary>
        /// 绿色分量校正系数
        /// </summary>
        public SCP_COMP_ADJUST_COEFF_T green;

        /// <summary>
        /// 蓝色分量校正系数
        /// </summary>
        public SCP_COMP_ADJUST_COEFF_T blue;
    }
}
